<template>
  <div class="Count">
    <h3>Count</h3>
    <h3>当前的num的值是:{{$store.state.num}}</h3>
  </div>
</template>

<script>
export default {
    name:"Count",
    mounted(){
        console.log(this);
    }
}
</script>

<style>
.Count{
    background-color:pink;
}
</style>